<!DOCTYPE HTML>
<html>
<body onload="go()">
Test InsertLineBreak is called correctly without any exception.
<script>
function go() {
    document.designMode="on";
    document.write("</");
    document.getSelection().addRange(document.createRange());
    document.execCommand("InsertLineBreak");

    var result = "PASS";
    if (window.testRunner) {
        document.body.innerHTML = result;
        testRunner.dumpAsText();
    } else
        document.body.innerHTML = result;
}
</script>
</body>
</html>
